﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EkStudio.com.common.unit
{
    /// <summary>
    /// 常用静态方法
    /// </summary>
    public static class StringUtility
    {
        /// <summary>
        /// 获取长日期
        /// </summary>
        /// <returns></returns>
        public static string getZwStandLongDate()
        {
            return DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
        }
        /// <summary>
        /// 获取短日期
        /// </summary>
        /// <returns></returns>
        public static string getZwShortDate()
        {
            return DateTime.Now.ToString("yyyy-MM-dd");
        }
    }
}
